package top.go2do.deviceSync.business.device.service;

import top.go2do.deviceSync.business.device.module.DeviceHeartbeatBO;
import top.go2do.deviceSync.business.device.module.DeviceRegisterBO;

/**
 * @Description
 * @Author xingyj
 * @CreateTime 2025/4/17 13:50
 */
public interface DeviceService {
    /**
     * 注册设备
     * @param registerBO
     */
    void register(DeviceRegisterBO registerBO);

    /**
     * 设备心跳
     * @return 心跳间隔（秒）
     */
    Integer heartbeat(DeviceHeartbeatBO heartbeatBO);
}
